package com.tcy.bigevent.service;

import com.tcy.bigevent.pojo.Article;
import com.tcy.bigevent.pojo.PageBean;

import java.util.List;


public interface ArticleService {
    List<Article> getAllArticles();

    void add(Article article);

    void update(Article article);

    Article getById(Integer id);

    void delete(Integer id);

    PageBean<Article> list(Integer pageNum, Integer pageSize, Integer categoryId, String state);
}
